package com.xtianzhuang.www.entity.request.base;

public class PageBaseRequest extends BaseRequest {
	private int page;

	private int limit;

	private int offset;

	public int getPage() {
		return page;
	}

	public void setPage(int page) {
		this.page = page;
	}

	public int getLimit() {
		return limit;
	}

	public void setLimit(int limit) {
		this.limit = limit;
	}

	public int getOffset() {
		return (page - 1) * limit;
	}

	public void setOffset(int offset) {
		this.offset = offset;
	}

}
